import DiyText from './config/DiyText'
import DiyImage from './config/DiyImage'
import { getDiyList } from './helper'
import DiySignet from '@/diy/config/DiySignet'
import type { IDiyBase } from '@/diy/types'
import DiyQrcode from '@/diy/config/DiyQrcode'

export type DiyListType = Record<string, IDiyBase[]>

export const diyCertList = ((): DiyListType => {
  const list = [DiyText, DiyImage, DiySignet, DiyQrcode]
  return getDiyList(list)
})()
